<!doctype html>
<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<title>工作人员绑定</title>
<link href="../../css/newStyle.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../../js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../../js/gbRst.js"></script>
<script type="text/javascript" src="../../js/common.js"></script>
<script type="text/javascript" src="../../js/utils.js"></script>
<script type="text/javascript" src="../../js/header&footer.js"></script>
<script type="text/javascript" src="../../js/check.js"></script>
<script type="text/javascript" src="../../js/openId.js"></script>
<script type="text/javascript">
function addInfo(){
	var openId = getOpenId();
	var name = $("#custName").val();
	var password = $("#passWord").val()
	var dt= _insertInfoNoSucceedMessage("../../../user/insert/insertOpenId", {'loginName':name,'pwd':password,'openID':openId});
	if(IsNotEmpty(dt)&&dt.state==0){
		alert("绑定成功");
	}
}
</script>
</head>

<body>
<div class="wrapper">
  <div class="container">
        <div class="person">
           登陆名<span class="red">*</span><br>
            <input name="custName" type="text" id="custName" class="txt">
        </div>
        <div class="person">
            登录密码<span class="red">*</span><br>
            <input type="password" class="txt" id="passWord">
        </div>
        <div class="give">
            <input type="button" value="绑定" onclick="addInfo()" class="giveBtn">
        </div>
  </div>
</div>
</body>
</html>
